// Author: combacsa@kaist.ac.kr
// http://www.jungol.co.kr/prog/Hanal/hanalView.php?qs_code=125

//#define COMPILE
#ifdef COMPILE

#include <fstream>
using namespace std;

int main() {
	ifstream in("input.txt");
	int n;
	in >> n;
	in.close();

	ofstream out("output.txt");
	for (int i = 0; i< n; i++) 
		out << i + 1<< " ";
	out.close();


	return 0;
}
#endif
